Skip to content

Conversation

loiseaujc
Copy link
Contributor

@loiseaujc loiseaujc commented Sep 30, 2025

Most of the loops that could be replaced by do concurrent have been.
On my laptop, here are the timings I gets:

  • Legacy code:

    • bench01_zfft : 3.19 seconds
    • bench02_zfft : 4.10 seconds
    • bench03_dfft : 1.80 seconds
  • Do-concurrent code:

    • bench01_zfft : 2.26 seconds (1.4x speedup)
    • bench02_zfft : 2.90 seconds (1.4x speedup)
    • bench03_dfft : 1.50 seconds (1.2x speedup)

Both codes are compiled with gfortran 13.3. The speed-ups are obviously to be taken with a grain of salt. We would need to do a proper performances analysis with sequences of varying lengths. Still, it's pretty nice I believe.

ping @perazz @zoziha
PS : This PR builds upon the intent_specs one and should be merge after the latter.

@loiseaujc loiseaujc marked this pull request as draft September 30, 2025 12:28
Copy link

codecov bot commented Sep 30, 2025

Codecov Report

❌ Patch coverage is 60.89109% with 158 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.76%. Comparing base (afcfff6) to head (55796e4).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
src/radb5.f90 0.00% 35 Missing ⚠️
src/radf5.f90 0.00% 35 Missing ⚠️
src/passb5.f90 0.00% 34 Missing ⚠️
src/passf5.f90 0.00% 34 Missing ⚠️
src/radbg.f90 66.66% 9 Missing ⚠️
src/radfg.f90 66.66% 9 Missing ⚠️
src/passb.f90 93.33% 1 Missing ⚠️
src/passf.f90 93.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
- Coverage   82.99%   82.76%   -0.24%     
==========================================
  Files          67       67              
  Lines        2317     2170     -147     
  Branches      182      182              
==========================================
- Hits         1923     1796     -127     
+ Misses        394      374      -20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@loiseaujc loiseaujc marked this pull request as ready for review September 30, 2025 12:32
Update do concurrent branch with latest devs from main.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant